package com.feifan.oa.domain;

import com.feifan.common.annotation.Excel;
import com.feifan.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程类别明细对象 tb_flow_category_info
 * @author 非凡
 * @date 2020-06-30
 */
public class FlowCategoryInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 类别明细名称
     */
    @Excel(name = "类别明细名称")
    private String name;

    /**
     * 类别id
     */
    @Excel(name = "流程类别")
    private FlowCategory flowCategory;

    /**
     * 是否是假期
     */
    @Excel(name = "是否是假期")
    private char isHoliday;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public FlowCategory getFlowCategory() {
        return flowCategory;
    }

    public void setFlowCategory(FlowCategory flowCategory) {
        this.flowCategory = flowCategory;
    }

    public char getIsHoliday() {
        return isHoliday;
    }

    public void setIsHoliday(char isHoliday) {
        this.isHoliday = isHoliday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("flowCategory", getFlowCategory())
                .append("isHoliday", getIsHoliday())
                .toString();
    }
}
